package com.sq.partner.manager.service;

import com.sq.partner.manager.common.Result;
import com.sq.partner.manager.mybatis.model.CoreDept;
import com.sq.partner.manager.mybatis.model.TradConfig;
import com.sq.partner.manager.util.Page;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 2022/9/14 16:20
 */
public interface CarAccidentService {
	/**
	 * 查询传入机构集合及其子机构
	 * @param deptStr
	 * @return
	 * @throws Exception
	 */
	public List<CoreDept> queryPrivilegeBranch(String deptCodeStr) throws Exception;

	Page<Map<String, Object>> queryConfigPlanByCriteria(Page<Map<String, Object>> page) throws Exception;

	Result updateConfigPlanList(List<TradConfig> configArrayList) throws Exception;
}
